Control object, as a transaction context object, is passed through the whole transaction process from beginning to the end.
在整个事务处理过程中,作为事务上下文对象传递控制对象。
When a transaction starts, the scope key for this transaction is added to this context object.
当一个事务开始时,这个事务的范围键被添加到这个上下文对象中。
One caveat here is that service object local calls do not go through the transactional proxy, and thus will always occur in the transaction context of the caller.
这里需要注意的一点在于,服务对象本地调用并不经过事务代理,因此将始终在调用者的事务上下文中进行。
应用推荐